package com.example.basic.web.model.transTask;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.basic.base.IdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 单据任务流程
 * </p>
 *
 * @roleor zzl
 * @since 2024-3-14
 */
@Data
@TableName("sys_trans_task")
@ApiModel(value="TransTask对象", description="单据任务流程")
public class TransTask extends IdEntity{

    @ApiModelProperty(value = "数据id")
    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "操作单据号")
    @TableField("document_no")
    private String documentNo;

    @ApiModelProperty(value = "终端编码")
    @TableField("terminal_code")
    private String terminalCode;

    @ApiModelProperty(value = "操作类型")
    @TableField("oper_type")
    private String operType;

    @ApiModelProperty(value = "序号")
    @TableField("sort_no")
    private Integer sortNo;

    @ApiModelProperty(value = "任务状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "指令起点")
    @TableField("instruct_start")
    private String instructStart;

    @ApiModelProperty(value = "指令终点")
    @TableField("instruct_end")
    private String instructEnd;
}